package com.tianpengtech.common.model;

import com.jfinal.plugin.activerecord.Model;

/*
 * 	model抽象类
 */
public abstract class AbstractBaseModel<M extends AbstractBaseModel<?>> extends Model<M> {

    private static final long serialVersionUID = 1L;

    public abstract String regionName();
    public abstract String tableName();

    /*
     * 	加密主键
     */
    public String encryptPriKey(String v) {

        return v;
    }

    /*
     * 	解密主键
     */
    public String deEncryptPriKey(String v) {

        return v;
    }
}
